package org.example.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.pojo.IdCard;

/**
* @author wexx
* @description 针对表【tb_idcard】的数据库操作Mapper
* @createDate 2024-11-15 14:06:27
* @Entity org.example.pojo.IdCard
*/
public interface IdCardMapper {

    int deleteByPrimaryKey(Long id);

    int insert(IdCard record);

    int insertSelective(IdCard record);

    IdCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IdCard record);

    int updateByPrimaryKey(IdCard record);
    @Select("SELECT * FROM tb_idcard WHERE id = #{id}")
    IdCard selectIdCardById(int id);
}
